package project.controllers.sort;

import java.util.Comparator;

import project.model.IOrder;

public class SortOrderByFillingDate implements Comparator<IOrder>{

	
	public int compare(IOrder order1,IOrder order2) {
		int result=0;
			result=order1.getFillingDate().compareTo(order2.getFillingDate());
	
		return result;

	}

	
	

}
